package com.nulgame.bukkit.plugin.resource;


public interface Resource {
	//Config tag
	String TAG_RULE ="Rule";
	String TAG_RULE_TYPE ="Type";
	String TAG_RULE_MESSAGE_RESTRICTION_NUMBER ="Number";
	String TAG_RULE_MESSAGE_RESTRICTION_MESSAGE ="Message";
	String TAG_RULE_WORD_CAPITAL_PERCENTAGE ="Percentage";
	String TAG_RULE_WORD_NOSPACE_LENGTH ="Length";
	//Custom config file name
	String CUSTOM_FILE_NAME = "config.yml";
	
	int ANTI_CHAT_SPAM_ALLOWED_INFRACTION_DEFAULT = 3;
	Long ANTI_CHAT_SPAM_IN_MILLIS_TIME_DEFAULT = 1000L;
	String ANTI_CHAT_SPAM_RESPONE_TO_PLAYER_DEFAULT = "%PlayerName%, just send the same %AllowedInfraction% message(s) in %InMillisTime% ms";
	
	String ANTI_WORD_RESPONSE_TO_PLAYER_DEFAULT = "A word '%Word%' is not allowed";
	double ANTI_WORD_ALLOWED_PERCENTAGE_DEFAULT = 50;
	String ANTI_WORD_CAP_RESPONSE_TO_PLAYER_DEFAULT = "This message contains greater than %AllowedPercentage%% capital words is not allowed";
	String ANTI_SERVER_ADDRESS_DEFAULT = "A server address is not allowed";
	
	String ANTI_CHAT_OVERFLOW_RESPONSE_TO_PLAYER_DEFAULT = "%PlayerName%, do not send two messages in %InMillisTime% ms";
	Long ANTI_CHAT_OVERFLOW_IN_MILLIS_TIME_DEFAULT = 1000L;
	String GLOBAL_SETTING_RESPONSE_TEXT_COLOR = "f";
	
	String PLAYER_NAME_VARIABLE = "%PlayerName%";
	String ALLOWED_INFRACTION = "%AllowedInfraction%";
	String IN_MILLIS_TIME = "%InMillisTime%";
	String MESSAGE_VARIABLE = "%Message%";
	String WORD_VARIABLE = "%Word%";
	String ALLOWED_PERCENTAGE_VARIABLE = "%AllowedPercentage%";
	String IP_VARIABLE = "%IP%";
	String DOMAIN_TYPE_VARIABLE = "%DomainType%";
	String SERVER_ADDRESS_VARIABLE = "%ServerAddress%";
	
	String SAPCE = " ";
	String SPACE_COLON_PATERN = ":| ";
	String SAPCE_DOT = " .";
	String DOT_PATERN = "\\.";
	String RULE_DELIMITER_PATERN = " -> |->";
}

